package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;

import java.util.List;

public interface ContentService {
    List<TbContent> contentList();

    Boolean save(TbContent tbContent);

    TbContent getById(long id);

    Integer contentUpdate(TbContent tbContent);

    Integer deleteContent(Long[] id);

    List<TbContent> getContent(Long categoryId, Integer pageSize);
}
